<?php

use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Input;
use Illuminate\Support\Facades\View;
use Symfony\Component\HttpFoundation\Request;
use Illuminate\Support\Facades\URL;
use Illuminate\Http\Response;

/**
 *
 * @author Hong Yang
 */
class Admin_PcHomeController extends BaseController
{
  	protected $layout = 'layouts.pc.master';

	public function index()
	{
		if (Auth::user())
		{
			$this->layout->content = View::make('pc.index');
		} else {
			return Redirect::route('signin');
		}
	}
}
